package homebuh.model.webservices
{
	 import mx.rpc.xml.Schema
	 public class BaseHomebuhWebServiceSchema
	{
		 public var schemas:Array = new Array();
		 public var targetNamespaces:Array = new Array();
		 public function BaseHomebuhWebServiceSchema():void
		{
			 var xsdXML1:XML = <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:axis2wrapped="urn:HomebuhService.wsdl" xmlns:ns6="name.shturman.homebuh/types/" xmlns:ns7="name.shturman.homebuh/types/" xmlns:ns8="name.shturman.homebuh/types/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="urn:HomebuhService.wsdl">
    <xsd:import namespace="name.shturman.homebuh/types/"/>
    <xsd:import namespace="name.shturman.homebuh/types/"/>
    <xsd:import namespace="name.shturman.homebuh/types/"/>
    <xsd:element name="registerAccount">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element form="unqualified" name="account" type="ns8:Account"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="login">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element form="unqualified" name="login" type="xsd:string"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="getAccounts">
        <xsd:complexType>
            <xsd:sequence/>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="registerAccountResponse">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element form="unqualified" name="accountId" type="xsd:integer"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="loginResponse">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element form="unqualified" name="user" type="ns8:User"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
    <xsd:element name="getAccountsResponse">
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element form="unqualified" name="accounts" type="ns8:ArrayOfAccounts"/>
            </xsd:sequence>
        </xsd:complexType>
    </xsd:element>
</xsd:schema>
;
			 var xsdSchema1:Schema = new Schema(xsdXML1);
			schemas.push(xsdSchema1);
			targetNamespaces.push(new Namespace('','urn:HomebuhService.wsdl'));
			 var xsdXML0:XML = <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:myType="name.shturman.homebuh/types/" xmlns:ns="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="name.shturman.homebuh/types/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="name.shturman.homebuh/types/">
    <xsd:complexType name="User">
        <xsd:sequence>
            <xsd:element name="login" type="string"/>
            <xsd:element name="name" nillable="true" type="string"/>
            <xsd:element name="email" type="string"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Money">
        <xsd:sequence>
            <xsd:element minOccurs="0" name="amount" type="decimal"/>
            <xsd:element minOccurs="0" name="currency" type="string"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfMoney">
        <xsd:sequence>
            <xsd:element maxOccurs="unbounded" minOccurs="0" name="money" nillable="true" type="myType:Money"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="ArrayOfAccounts">
        <xsd:sequence>
            <xsd:element maxOccurs="unbounded" minOccurs="0" name="account" nillable="true" type="myType:Account"/>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="Account">
        <xsd:sequence>
            <xsd:element name="id" nillable="true" type="integer"/>
            <xsd:element name="name" type="string"/>
            <xsd:element minOccurs="0" name="initialAmounts" nillable="true" type="myType:ArrayOfMoney"/>
        </xsd:sequence>
    </xsd:complexType>
</xsd:schema>
;
			 var xsdSchema0:Schema = new Schema(xsdXML0);
			schemas.push(xsdSchema0);
			targetNamespaces.push(new Namespace('','name.shturman.homebuh/types/'));
			xsdSchema1.addImport(new Namespace("name.shturman.homebuh/types/"), xsdSchema0)
		}
	}
}